const { default: mongoose } = require('mongoose')
const db = require('./db')

const address=new db.Schema({
     name:String,
     phone:String,
     address:String,
     status:{
        type:Boolean,
        default:0
     },
     idcard:String,
     detailadress:String,

})
const addressModel=mongoose.model('address',address,'address')
module.exports = {
    addressModel
}

